package com.acoreful.acf2admin.test;



/**
 * Description：前后台以JSON交互对象
 * @author
 * @date
 */
public class BaseObject {
	private String msg;      //返回信息
	private String device;//设备
	private String mac;//用于对前台传的数据进行检验
	private String state;//登录状态0是没有登录，1是登录成功
	private String data;//返回的前台数据
	private String sessionId;//当前登录人的唯一标识
	public String getSessionId() {
		return sessionId;
	}

	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getMac() {
		return mac;
	}

	public void setMac(String mac) {
		this.mac = mac;
	}
	public BaseObject() {
		super();
	}
	public String getMsg() {
		return msg;
	}
	
	public void setMsg(String msg) {
		this.msg = msg;
	}
	
	public String getDevice() {
		return device;
	}

	public void setDevice(String device) {
		this.device = device;
	}

	
	public BaseObject(String msg, String mac, String state, String data,
			String sessionId) {
		super();
		this.msg = msg;
		this.mac = mac;
		this.state = state;
		this.data = data;
		this.sessionId = sessionId;
	}

	
	public BaseObject(String msg, String mac, String state, String data) {
		super();
		this.msg = msg;
		this.mac = mac;
		this.state = state;
		this.data = data;
	}

	public BaseObject(String msg, String device, String mac, String state,
			String data, String sessionId) {
		super();
		this.msg = msg;
		this.device = device;
		this.mac = mac;
		this.state = state;
		this.data = data;
		this.sessionId = sessionId;
	}
	
	
}
